package com.boot.dog.entities.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: MaxLv
 * @Date: 2020/1/13
 */
@Data
public class RoleDto implements Serializable {

    private Integer id;
    private String name;
    @NotNull(message = "aweqeqweq")
    @NotBlank(message = "qwerttyyu")
    private String description;
}
